package com.chart.chart.domian;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 图表大屏 sys_config
 * 
 * @author ruoyi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChartConfigsAndViewsVo{

    /** 参数主键 */
    private Long id;

    /** 参数键名 */

    private Long userId;

    private Long configId;

    /** 参数键值 */

    private String type;

    private String value;

    private String name;

    private String copyName;

    private String cover;


    private String layer;

    private Integer chartModeType;


    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /** 更新者 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    /** 备注 */
    private String remark;

    private Long fileId;

    private Long parentId;

    private String parentName;

    private Integer isFree;

    private String redisKey;

    /** 照片 URL */
    @TableField("image_url")
    private String imageUrl;

    @TableField(exist = false)
    private  String  imageBase64;
}
